

package com.example.superoa.model.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;
import com.example.superoa.model.pojos.Staff;
import com.example.superoa.model.vo.StaffVo;


@Mapper
public interface StaffMapper {
	//查询员工表信息
	public List<StaffVo> staffAll();
	
	//获取员工数据
	public Staff staffById(int staff_id);
	
	/*根据条件查询*/
	public JSONArray staffselect(@Param("staff_name")String staff_name);
	
	//员工入职修改状态
	public void staffstae(@Param("Staff_sfzz")String Staff_sfzz,@Param("staff_id")int staff_id);
	
	//离职员工
	public void staffstaxx(@Param("Staff_sfzz")String Staff_sfzz,@Param("staff_id")int staff_id);
	
	//根据id查询奖惩员工
	public Staff staffasssId(String staff_name);
	
	public Staff staffsll();
}
